<tr class="<?php if ($object['unread']): ?>unread<?php else: ?>read<?php endif; ?>"><td class="readstatus">
<?php if ($object['unread']): ?>
	<?php if ($object['icon_new']): ?>
		<img src="<?php echo Gene::makeLink(Gene::fileId($object['icon_new'])) ?>" alt="" width="32" height="32" />
	<?php else: ?>
		<img src="<?php echo $ui['images'] ?>unread.png" alt="" width="32" height="32" />
	<?php endif; ?>
<?php else: ?>
	<?php if ($object['icon_nonew']): ?>
		<img src="<?php echo Gene::makeLink(Gene::fileId($object['icon_nonew'])) ?>" alt="" width="32" height="32" />
	<?php else: ?>
		<img src="<?php echo $ui['images'] ?>read.png" alt="" width="32" height="32" />
	<?php endif; ?>
<?php endif; ?>
</td>
<td class="foruminfo"><a class="forumname" href="<?php echo Gene::makeLink($object) ?>"><?php _e($object['title']) ?></a><br />
<span class="forumdescription"><?php _e($object['description']) ?></span></td>
<td class="discussioncount"><?php _e($object['numchilds']) ?></td>
<td class="lastcomment">
<?php if ($object['lastcomment'] && checkPermission($object['lastcomment'], "view")): ?>
	<a href="<?php echo Gene::makeLink($object['lastcomment']) ?>"><?php _e(truncate($object['lastcomment']['title'], 36)) ?></a><br />
	<?php echo timeAgo($object['lastcomment']['t_create']) ?> ago - 
	<?php if ($object['lastcomment']['owner_id']): ?>
		<?php _e($object['lastcomment']['name']) ?>
	<?php else: ?>
		"<?php _e($object['lastcomment']['guest_name']) ?>" (Guest)
	<?php endif; ?>
<?php endif; ?>
</td></tr>